package com.ruoyi.framework.web.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.domain.SysAppBookchapters;
import com.ruoyi.system.domain.SysAppBookinfo;
import com.ruoyi.system.domain.SysAppPrescriptionInfo;
import com.ruoyi.system.service.ISysAppBookchaptersService;
import com.ruoyi.system.service.ISysAppBookinfoService;
import com.ruoyi.system.service.ISysAppPrescriptionInfoService;

@Service("prescription")
public class PrescriptionService {
	
	@Autowired
    private ISysAppPrescriptionInfoService sysAppPrescriptionInfoService; 
	
	
	public List<SysAppPrescriptionInfo> getInfos(Integer status) {
		SysAppPrescriptionInfo info = new SysAppPrescriptionInfo();
		info.setStatus(status);
		List<SysAppPrescriptionInfo> infos = sysAppPrescriptionInfoService.selectSysAppPrescriptionInfoList(info);
		return infos;
	}
	
	
	

}
